package com.ahcloud.edas.gatewaylog.biz.domain.log.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: ahcloud-operatelog
 * @description:
 * @author: YuKai Fan
 * @create: 2024/6/6 10:47
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GatewayAccessLogVO {
    /**
     * 日志id
     */
    private Long id;

    /**
     * 接口编码
     */
    private String apiCode;

    /**
     * 请求方式
     */
    private String method;

    /**
     * 请求uri
     */
    private String requestUri;

    /**
     * rpc类型
     */
    private String rpcType;

    /**
     * HttpStatus
     */
    private Integer status;
    /**
     * module
     */
    private String module;

    /**
     * traceId
     */
    private String traceId;

    /**
     * 日志时间
     */
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date logTime;
}
